package com.khalil.kkadmin.kb.service;

import com.khalil.kkadmin.infrastructure.IService;
import com.khalil.kkadmin.kb.dto.KbDmsDocumentDto;
import com.khalil.kkadmin.kb.domain.KbDocument;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface KbDocumentService extends IService<KbDocument, Long> {
    List<KbDmsDocumentDto> upload(Long dirId, List<MultipartFile> files);

    KbDmsDocumentDto getKbDocument(Long id);

    List<KbDmsDocumentDto> getKbDocumentList(Long dirId);

    void deleteByIdList(List<Long> idList);
}
